class UploadTaskItemModel{
  int taskId;
  String jsonTxt;

  UploadTaskItemModel({this.taskId, this.jsonTxt});

  UploadTaskItemModel.empty();

  factory UploadTaskItemModel.fromJson(Map<String,dynamic> json){
    return UploadTaskItemModel(
        taskId: json['taskId'] as int,
        jsonTxt: json['jsonTxt'] as String
    );
  }

  static Map<String, dynamic> toJson(UploadTaskItemModel instance){
    return<String, dynamic>{
      'taskId':instance.taskId,
      'jsonTxt':instance.jsonTxt
    };
  }
}